﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GestionEco
{
    public class Coordonnee
    {
        private static Random rand = new Random();
        private int x;
        private int y;

        public Coordonnee()
        {
            this.x = rand.Next(0, 300);
            this.y = rand.Next(0, 300);
        }


        public int getX()
        {
            return this.x;

        }

        public void setX(int unX)
        {
            this.x = unX;
        }

        public int getY()
        {
            return this.y;

        }

        public void setY(int unY)
        {
            this.y = unY;
        }

       
    }
}
